<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>

	
<title>悦章科技机构平台</title>	

	
<!--内容样式-->
<link rel="stylesheet" href="__PUBLIC__/Home/css/style.css" />

<script src="/Public/static/jquery-2.0.3.min.js"></script>
<link rel="stylesheet" href="__PUBLIC__/Home/css/page.css" />	
	
</head>

<body>

	
	<div class="main">
	
	
		<include file="menu" />
		
		
		
		<!--  右侧内容  -->
		<div class="content">
			
			
			<div class= "ct-title">
				<div class="ctt-bt">学生详情</div>
				<div class="divclear"></div>
			</div>
			
			<div class="xsxq-box">
				<div class="xb-bt">基本信息</div>
				<div class="xb-nr">学生姓名：<span>{$info['username']}</span></div>
				<div class="xb-nr">所属班级：<span>{$info['class_name']}</span></div>
				<div class="xb-nr">身份证号：<span>{$info['id_card']}</span></div>
				<div class="xb-nr">手机号码：<span>{$info['mobile']}</span></div>
				<div class="xb-nr">负责人：<span>{$info['person_charge']}</span></div>
				<div class="xb-nr">来源：<span>{$info['source']}</span></div>
				<div class="xb-nr">登录次数：<span>{$info['login_count']}次</span></div>
				<div class="xb-nr">视频时长：<span>{$info['all_study_time']}</span></div>
				<div class="divclear"></div>
			</div>
			
			
			<div class= "ct-title" style="margin-top: 60px;">
				<div class="ctt-bt">统计</div>
				<div class="ctt-r">
					<div class="cttr-tab">
						<!-- <div class="cttrt-btn on">全部</div> -->
						<div class='cttrt-btn <if condition="$type eq 1">on</if>' data-z="1">购课（{$count1}）</div>
						<div class='cttrt-btn <if condition="$type eq 2">on</if>' data-z="2">试卷（{$count2}）</div>
						<div class='cttrt-btn <if condition="$type eq 3">on</if>' data-z="3">视频（{$count3}）</div>
						<div class='cttrt-btn <if condition="$type eq 4">on</if>' data-z="4">练习册（{$count4}）</div>
						<div class="divclear"></div>
					</div>
					<div class="divclear"></div>
				</div>
				<div class="divclear"></div>
			</div>
			
			<div class="ct-table">
				<table width="100%" border="0">
					<tbody>
						<tr>
							<th scope="col" width="50%" style="border-top-left-radius: 10px;">内容名称</th>
							<th scope="col" width="25%">时间</th>
							<th scope="col" width="25%" style="border-top-right-radius: 10px;">类型</th>
						</tr>
						<volist name="list" id="item">
							<tr>
							  <td>{$item['name']}</td>
							  <td>{$item['create_time']}</td>
							  <td>{$item['class']}</td>
							</tr>
						</volist>
					</tbody>
				</table>
			</div>
			
<!-- 			<div class="ct-btn">
				<div class="ctb-an"><</div>
				<div class="ctb-an ctb-an-on">1</div>
				<div class="ctb-an">2</div>
				<div class="ctb-an">3</div>
				<div class="ctb-an">></div>
				<div class="divclear"></div>
			</div> -->
			
			<div class="page">
	            {$_page}
	        </div>			
			
		</div>
		
		
		
	</div>
		
		
		
		
		
	
	
	
</body>
</html>
<script type="text/javascript">

	    $('.cttrt-btn').click(function(){
	    var id={$id};
        var type=$(this).data('z');
        var url="{:U('Home/Educational/study_detail')}";
        url=url+"&type="+type+"&id="+id;
        location.href=url;
    })
</script>
